package com.kws.system.domain.info;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * <b>QueryMessageNotificationInfo</b>
 *
 * @description: QueryMessageNotificationInfo <br>
 * @date: 2024/11/5 15:04 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryMessageNotificationInfo {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "消息类型")
    private String messageType;

    @ApiModelProperty(value = "消息名称")
    private String messageName;

    @ApiModelProperty(value = "消息内容")
    private String messageContent;

    @ApiModelProperty(value = "通知人员")
    private String notificationUserType;

    @ApiModelProperty(value = "通知方式")
    private String notificationMode;

    @ApiModelProperty(value = "创建用户")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public String getMessageName() {
        return messageName;
    }

    public void setMessageName(String messageName) {
        this.messageName = messageName;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public String getNotificationUserType() {
        return notificationUserType;
    }

    public void setNotificationUserType(String notificationUserType) {
        this.notificationUserType = notificationUserType;
    }

    public String getNotificationMode() {
        return notificationMode;
    }

    public void setNotificationMode(String notificationMode) {
        this.notificationMode = notificationMode;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return DateUtil.format(this.createTime, DatePattern.NORM_DATETIME_FORMATTER);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
